Abstract: With the continuous improvement of living standards, cars have gradually entered thousands of households. The psychology of pursuing a stylish personality makes car owners * try their best to dress up their cars. Car LED network scanning lights not only show personality, but also serve as a warning, and even have a nice name called Ranger Lamp. This article introduces a method of designing and manufacturing a car mid-network scanning lamp. It mainly uses the common STC89C52RC single-chip microcomputer as the main controller, adopts a photoelectric coupler for signal conversion, and is converted into eight groups of LED scanning lights with piranha LED strips purchased on the market. It can produce effects such as tailing and breathing, and it can also expand functions such as chassis lights and wireless remote control. 0 Preface The rapid development of the LED industry has brought a lot of impact to lighting and decoration, especially the combination of LED and car is the current hot topic. Reading lights, width lights, brake lights, and even lighting headlights in cars have gradually appeared LED figures. Of course, as a decorative instrument lamp, the scanning lamp and the chassis lamp are not far behind. This article introduces the design and production of an LED scanning lamp. 1 System configuration The system is composed of a high-brightness LED light bar and a car mid-network scanning light controller. The controller contains logic control (microcomputer minimum system) part, power supply part, power drive part and circuit delay part. The specific block diagram is shown in Figure 1. Figure 1 System block diagram 2 Circuit design Figure 2 is the logic control part of this design, using the classic 8051 single-chip minimum system, model STC89C52RC, the most convenient STC series single-chip is to only leave P3.0 and P3.1 pin pins, you can pass any The serial port RS232 circuit of an experiment board downloads the program to the single-chip microcomputer, which is convenient for the modification and upgrade of the works in the future, and also provides convenience for debugging. It should be noted that the 31 pin of the microcontroller must be connected to a high level, otherwise the microcontroller will not read the memory in the chip, causing the microcontroller to not work. Although the 40-pin single-chip is selected here, it is a bit too large, but the pins are led out with pins to facilitate future function expansion. Figure 2 Logic Control Department Figure 3 is the power supply part of the design, because it involves powering the bright LED light bar and the single-chip microcomputer, the power supply requires 12V and 5V voltage output. The car battery voltage is around 12.5V. The LED light bar can be powered directly by 12V. The one-chip computer part needs 7805 to turn into 5V voltage power supply. In order to enhance the safety of the automotive circuit, a fuse is added to the power circuit. Among them, J2 is the power input of the car, the positive electrode can be connected to the positive electrode of the car width indicator, and the negative electrode can be connected to the metal part of the car structure. J1 can be used to draw out the control switch, or short-circuit directly with a jumper cap. Figure 3 Power supply Figure 4 is the focus of this design. There are three groups similar to the structure in Figure 4, the main device is a photocoupler, the model can use EL817, using them to achieve electrical isolation, but also realize the use of single-chip signal control 12V lamp article. Among them, two groups are selected, and the input terminal is connected to P2.7 ~ P2.0 as the signal control terminal of the scanning lamp. Used to control eight groups of LEDs LED1 ~ LED8 in the LED light bar. It is worth noting that the input of the optocoupler is very fragile, and the current limiting resistor must be connected when it is connected. The other end of the optocoupler can be connected to a group in the LED light bar, forming a loop with the 12V power supply, which is equivalent to the switching circuit controlled by the internal internal LED. The capacitors C2 ~ C5 in the figure act as a delay circuit. When the optocoupler is turned on, the group of LEDs is on, and the capacitor is connected to the 12V power supply for charging. When the optocoupler is disconnected, the capacitor and the group of LED lights Form a discharge circuit and maintain that this group of lights is not extinguished immediately. The trailing effect of the scanning light is achieved by this part of the circuit. Fpc Connector,Straight Pin Fpc Connector,Gold-Plated Straight Pin Fpc Connector,Conventional Fpc Connector Shenzhen Jinyicheng Electronci Technology Co.,Ltd. , https://www.jycconnector.com